package com.gitee.zw.rule.dao;

import com.gitee.zw.rule.vo.RuleContent;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RuleContentRepository extends JpaRepository<RuleContent, String> {
    List<RuleContent> findByIsValid(Boolean isActive);

    List<RuleContent> findByDomainCode(String domainCode);
}
